/* 头部 */
header{
    height: 35px;
    background-color: #f5f5f5;
}
.top{
    height: 35px;
    /* background-color: orange; */
    position: relative;
}
.top>.top-left{
    width: 320px;
    height: 35px;
    /* background-color: springgreen; */
    float: left;
   
}
.top>.top-left>li,
.top>.top-right>li
{
    float: left;
    color: #3c3c3c;
    font-size: 12px;
    line-height: 35px;
    padding: 0px 6px;
    margin-right: 7px;
}
.top>.top-left>li:not(:first-child):hover{
    color: red;
}
.top>.top-left>.on_off a{
    color: red;
}
.top>.top-left>.on_off>.on,
.top>.top-left>.on_off>.off
{
    position: absolute;
    left: 67px;
    top: 0px;
    display: none;
   
}
.top>.top-left>.on_off>span.active{
    display: block;
}
.top>.top-right{
    width: 674px;
    height: 35px;
    /* background-color: red; */
    float: right;
}
.top>.top-right>li>span{
    color: red;
    font-size: 12px;
    margin: 0 5px;   
}
.top>.top-right>li:hover{
    color: red;
}

/* 网站导航二级菜单 */
.web-nav:hover>.nav{
    display: block;
    color: #3c3c3c;
}
.nav{
    min-height: 260px;
    background-color: white;
    position: absolute;
    right: 0;
    display: none;
    z-index: 1000;
}
.nav>div{
    width: 24.5%;
    float: left;
    border-right: 1px solid #ccc;
    
}
.nav>div:last-child{
    border-right: none;
}

.nav>div>p{
    font-size: 18px;
    color: orange;
    font-weight: bold;
    line-height: 22px;
    margin: 10px 0px 10px 5px;
}
.nav>div>ul{
    float: left;
    margin-left: 10px;
    margin-right: 30px;
}
.nav>div>ul>li{
    padding: 0 5px;
    text-align: center;
}
.nav>div>ul>li:hover{
    background-color: orange;
    color: #fff;
}
/* 简单分类 */
.simple_sort{
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.simple_sort>p{
    width: 80px;
    height: 80px;
    margin-left: 10px;
}
.simple_sort>div{
    width: 210px;
    height: 75px;
    /* border: 3px solid orangered; */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.simple_sort>div.d1{
    background: url(../img/01.png);
}
.simple_sort>div.d2{
    background: url(../img/02.png);
}
.simple_sort>div.d3{
    background: url(../img/03.png);
}
.simple_sort>div.d4{
    background: url(../img/04.png);
}
.simple_sort>div.d5{
    background: url(../img/05.png);
}
.simple_sort>div>.left{
    margin-right: 40px;
    width: 90px;
    height: 52px;
}
.simple_sort>div>.left>h4,
.simple_sort>div>.left>p{
    color:#fff; 
}
.simple_sort>div>.left>h4{
    line-height: 28px;
}
.simple_sort>div>.right{
    width: 52px;
    height: 52px;
    background-color: #fff;
}
/* 主体 */
.content{
    background-color: #fff;
    border-radius: 15px;
    

    
}
.content>.cone{
    width: 100%;
    height: 123px;
    
    /* background-color: pink; */
}
.content .gif{
    width: 160px;
    height: 120px;
    margin-right: 100px;
    float: left;
}
.content .search{
    margin-top: 35px;
    width: 600px;
    height: 88px;
    float: left;
    /* background-color: skyblue; */
}
.content .search>.search_top{
    width: 100%;
    height: 42px;
    border: 1px solid orange;
    border-radius: 50px;
    display: flex;
    padding: 5px;
    box-sizing: border-box;
    position: relative;

} 
.content .search>.search_top>.filt{
    width: 75px;
    line-height: 32px;
    text-align: center;
    border-right: 1px solid #ccc;
    font-size: 12px;

}
.content .search>.search_top input{
    border: none;
    padding: 7px;
    width:425px;
    /* background-color: aqua; */
}
.content .search>.search_top>ul{
    width: 515px;
    height: 300px;
    /* background-color: lime; */
    position: absolute;
    left: 0;
    top: 42px;
    z-index: 999;
    border: 1px solid #ccc;
    background-color: #fff;
    display: none;
    padding-left: 7px;
    

}
.content .search>.search_top>ul>li{
    line-height: 30px;
    font-size: 14px;
    cursor: pointer;
}
.content .search>.search_top>button{
    border: none;
    font-size: 18px;
    font-weight: 700;
    width: 80px;
    color: #fff;
    background-color: #FF4200;
    border-radius: 42px;
}
.content .search>.search_keyword{
    width: 590px;
    height: 18px;
}
.content .search>.search_keyword>li{
    float: left;
    font-size: 12px;
    padding-right: 3px;
}

/* 商品分类&轮播图 */
.content>.sortBanner{
    height: 514px;
    /* background-color:greenyellow; */
    
}

.content>.sortBanner>.sort{
    width: 190px;
    height: 514px;
    /* background-color: hotpink; */
    float: left;
    /* margin-right: 10px;  */
    position: relative; 
   
    
}
.content>.sortBanner>.sort>li{
    font-size: 14px;
    color: #666;
    line-height: 35px;
    padding: 0 12px;
   
    box-sizing: border-box;
}
/* 二级菜单 */
.content>.sortBanner>.sort>li>.resort{
    width: 700px;
    height: 514px;
    border: 1px solid orangered;
    border-radius: 6px;
    background-color: #fff;
    position: absolute;
    left: 190px;
    top: 0;
    z-index: 100;
    overflow: auto;
    padding: 8px 0 0 10px;
    box-sizing: border-box;
    display: none;
}
.content>.sortBanner>.sort>li>.resort>div{
    height: 90px;
    margin-bottom: 8px;
    /* background-color: red; */
    color: #333;
}
.content>.sortBanner>.sort>li>.resort>div>h3{
    /* height: 30px; */
    line-height: 30px;
    margin-bottom: 8px;
   /* background-color: palevioletred; */
}
.content>.sortBanner>.sort>li>.resort>div>ul{
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    

}
.content>.sortBanner>.sort>li>.resort>div>ul>li{
    line-height: 25px;
    width: 16%;

}
.content>.sortBanner>.sort>li:hover{
    background-color: #FFAA8C;
    color: #ff5000;
}
.content>.sortBanner>.sort>li>span{
    float: right;
}
/* 中间部分 */
.sortBanner>.ban{
    width: 700px;
    height: 514px;
    float: left;   
}
.sortBanner>.ban>.top{
    height: 280px;
    /* background-color: red; */
    margin-top: 15px;
    
}
.sortBanner>.ban>.top>.swiper-container{
    width: 520px;
    height: 280px;
    background-color: skyblue;
    margin-right: 10px;
    float: left;
    position: relative;
}
.swiper-container{
    --swiper-navigation-size: 12px;
    --swiper-pagination-color: orange;
}

.sortBanner>.ban>.top>p{
    width: 160px;
    height: 280px;
    float: left;
    /* background-color: yellow; */
    
}
.sortBanner>.ban>p{
    width: 520px;
    color: lightgray;
    font-size: 12px;
   line-height: 18px;
}
.sortBanner>.ban>p>span{
    float: right;
    color: red;
}
.sortBanner>.ban>.bottom{
    height: 201px;
    /* background-color: pink; */
    display: flex;
    align-items: center;
    padding: 0 5px;
    box-sizing: border-box;
}
.sortBanner>.ban>.bottom>p:nth-child(2){
    margin: 0 20px;
}
.sortBanner>.info{
    width: 290px;
    height: 514px;
    /* background-color: skyblue; */
    float: left;
}
.sortBanner>.info>.head_img{
   height: 70px;
   /* background-color: red; */
   margin-top: 15px;
}
.sortBanner>.info>.head_img>.p1{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background-color: pink; */
    margin: 0 auto;
    overflow: hidden;
}
.sortBanner>.info>.head_img>.p2{
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}
.sortBanner>.info>.login{
    height: 40px;
    /* background-color: yellow; */
    margin: 25px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.sortBanner>.info>.login>button{
    border: none;
    border-radius: 5px;
    height: 25px;
    background-color: #ff5000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 25px;
    box-sizing: border-box;
    line-height: 15px;
    
}
.sortBanner>.info>.pic{
    width: 290px;
    height: 65px;
    /* background-color: purple; */
}


/* 图片区域 */
.content>.photos{
    height: 92px;
    padding-top: 40px;
    /* background-color: yellow; */
    display: flex;
    justify-content: space-between;
}
.content>.photos>li{
    height: 92px;
}

/* 优质好货区域 */
.content>.quality_goods{
    height: 330px;
    /* background-color: aqua;  */
    padding-top: 10px;
}
.content>.love>.wenzi,
.content>.quality_goods>.wenzi{
    padding-left: 20px;
    height: 24px;
    display: flex;
    margin-bottom: 20px;
    /* background-color: red; */
}
.content>.love>.wenzi>h2,
.content>.quality_goods>.wenzi>h2{
    line-height: 24px;
    margin-right: 5px;
}
.content>.love>.wenzi>p,
.content>.quality_goods>.wenzi>p{
    width: 65px;
    height: 20px;
    margin-top: 3px;
}
.content>.quality_goods>.goods{
    height: 306px;
    /* background-color: pink; */
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    padding: 0 20px;
    box-sizing: border-box;
    
}
.content>.quality_goods>.goods>div{
    width: 215px;
    /* background-color: yellow; */
    
}
.content>.quality_goods>.goods>div>.pic{
    height: 215px;
    /* background-color: slateblue; */
}
.content>.quality_goods>.goods>div>.txt{
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
}

/* 新品 */
.content>.xinpin{
    height: 130px;
    /* background-color: red; */
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
    
}
.content>.xinpin>li{
    width: 375px;
    height: 130px;
    border-radius: 5px;
    overflow: hidden;
   
}

/* 猜你喜欢区域 */
.content>.love>.goods_list{
    padding: 20px;   
}
.content>.love>.goods_list>.goods{
    margin-bottom: 8px;
    /* padding-left: 4px; */
}
.content>.love>.goods_list>.goods>div{
    width: 215px;
    height: 319px;
    padding: 7px 7px 0px 7px;
    /* margin: 0 2px 2px 4px; */
    margin-bottom: 2px;
    /* background-color: springgreen; */
    float: left;
    border-radius: 12px;
    position: relative;
 
}

.content>.love>.goods_list>.goods>div>.pic{
    width: 215px;
    height: 215px;
    /* background-color: yellow; */
    border-radius: 5px;
    overflow: hidden;
}
.content>.love>.goods_list>.goods>div>.txt{
    height: 44px;
    margin-top: 9px;
    line-height: 22px;
    overflow: hidden;
}
.content>.love>.goods_list>.goods .jiage{
    height: 22px;
    margin-top: 10px;
    display: flex;
}
.content>.love>.goods_list>.goods .jiage>.price{
    color: red;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
}
.content>.love>.goods_list>.goods .jiage>.purse{
    color: #999;
    font-size: 14px;
    line-height: 22px;
}
/* 每一个商品的遮罩层 */
.content>.love>.goods_list>.goods>div>.mask{
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.5);
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    transition: all 3s ease-in-out;
}
.goods>div>.mask>button{
    border: none;
    width: 200px;
    height: 38px;
    border-radius: 10px;
    color: white;
    background-color: #ff5000;
   
    position: absolute;
    bottom: 16px;
    left: 50%;
    margin-left: -105px;   
}
.content>.love>.goods_list>.goods>div:hover>.mask{
   display: block;
}

/* 楼层导航 */
.content>ol{
    width: 50px;
    height: 200px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 50%;
    margin-top: -75px;
    background-color: #fff;
}
.content>ol>li{
    flex: 1;
    font-size: 12px;
    padding: 10px 8px 0;
    cursor: pointer;

    
}
.content>ol>li.active{
    background-color: #f40;
    color: white;
}
.content>.rtop{
    width: 50px;
    height: 50px;
    background-color: pink;
    /* opacity: .5; */
    color: white;
    font-size: 12px;
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px 8px 0;
    box-sizing: border-box;
    display: none;
    cursor: pointer;

}
.content>.rtop:hover{
    background-color: #f40;
}
